package com.ruoyi.bcsettings.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商对象 erp_supplier
 *
 * @author ruoyi
 * @date 2025-02-27
 */
public class ErpSupplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customName;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private String customSn;

    /** 传值 */
    @Excel(name = "传值")
    private String transfer;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String zipcode;

    /** 通讯地址 */
    @Excel(name = "通讯地址")
    private String postalAddress;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String telephone;

    /** 公司网站 */
    @Excel(name = "公司网站")
    private String companyWebsite;

    /** 联系人 */
    @Excel(name = "联系人")
    private String linkman;

    /** 电子邮件 */
    @Excel(name = "电子邮件")
    private String email;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String mobile;

    /** 生产地址 */
    @Excel(name = "生产地址")
    private String productionAddress;

    /** 是否禁用 */
    @Excel(name = "是否禁用")
    private Integer disableFlag;

    /** 创建者 */
    @Excel(name = "创建者")
    private String creator;

    /** 更新者 */
    @Excel(name = "更新者")
    private String updater;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setCustomName(String customName)
    {
        this.customName = customName;
    }

    public String getCustomName()
    {
        return customName;
    }
    public void setCustomSn(String customSn)
    {
        this.customSn = customSn;
    }

    public String getCustomSn()
    {
        return customSn;
    }
    public void setTransfer(String transfer)
    {
        this.transfer = transfer;
    }

    public String getTransfer()
    {
        return transfer;
    }
    public void setZipcode(String zipcode)
    {
        this.zipcode = zipcode;
    }

    public String getZipcode()
    {
        return zipcode;
    }
    public void setPostalAddress(String postalAddress)
    {
        this.postalAddress = postalAddress;
    }

    public String getPostalAddress()
    {
        return postalAddress;
    }
    public void setTelephone(String telephone)
    {
        this.telephone = telephone;
    }

    public String getTelephone()
    {
        return telephone;
    }
    public void setCompanyWebsite(String companyWebsite)
    {
        this.companyWebsite = companyWebsite;
    }

    public String getCompanyWebsite()
    {
        return companyWebsite;
    }
    public void setLinkman(String linkman)
    {
        this.linkman = linkman;
    }

    public String getLinkman()
    {
        return linkman;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setMobile(String mobile)
    {
        this.mobile = mobile;
    }

    public String getMobile()
    {
        return mobile;
    }
    public void setProductionAddress(String productionAddress)
    {
        this.productionAddress = productionAddress;
    }

    public String getProductionAddress()
    {
        return productionAddress;
    }
    public void setDisableFlag(Integer disableFlag)
    {
        this.disableFlag = disableFlag;
    }

    public Integer getDisableFlag()
    {
        return disableFlag;
    }
    public void setCreator(String creator)
    {
        this.creator = creator;
    }

    public String getCreator()
    {
        return creator;
    }
    public void setUpdater(String updater)
    {
        this.updater = updater;
    }

    public String getUpdater()
    {
        return updater;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customName", getCustomName())
            .append("customSn", getCustomSn())
            .append("transfer", getTransfer())
            .append("zipcode", getZipcode())
            .append("postalAddress", getPostalAddress())
            .append("telephone", getTelephone())
            .append("companyWebsite", getCompanyWebsite())
            .append("linkman", getLinkman())
            .append("email", getEmail())
            .append("mobile", getMobile())
            .append("productionAddress", getProductionAddress())
            .append("remark", getRemark())
            .append("disableFlag", getDisableFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("creator", getCreator())
            .append("updater", getUpdater())
            .toString();
    }
}
